package com.example.demo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;

/**
 * @Date:2021/7/1 15:28
 * @Author:郑伟
 * @Version:1.1.0
 */
@Entity(name = "device")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Device implements Serializable {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY )
    private Integer id;

    private Date connTime;

    private String deviceId;

    private String deviceId2;

    private Date lastRes;

    private String net;

    private Long timestamp;

    private Integer gps;

    private Integer latitude;

    private Integer longitude;

    private Integer direction;

    private Integer speed;

    private Integer altitude;

    private Integer satelliteCount;

    private Integer gsmSignal;

    private Integer power;

    private Integer step;

    private Integer turn;

    private Integer lowPower;

    private Integer wear;

    private Integer sos;

    private Integer lowPowerWarn;

    private Integer breakWarn;

    private Integer fallWarn;

    private Integer BSLCount;

    private Integer gmsDely;

    private Integer MCC;

    private Integer MNC;

    private Integer LAC;

    private Integer CID;

    private Integer BSSS;

    private Integer wifiCount;

    private Integer vail;

}
